/*
 * serial.h
 *
 *  Created on: Oct 12, 2011
 *      Author: welcome
 */

#ifndef SERIAL_H_
#define SERIAL_H_
#include <rdesktop.h>

#ifdef __cplusplus
extern "C" {
#endif

extern int serial_enum_devices(uint32 * id, char *optarg);
extern RD_BOOL serial_get_event(RD_NTHANDLE handle, uint32 * result);
extern RD_BOOL serial_get_timeout(RD_NTHANDLE handle, uint32 length, uint32 * timeout,
			   uint32 * itv_timeout);

#ifdef __cplusplus
}
#endif

#endif /* SERIAL_H_ */
